package cn.tedu.boke.portal.service;

import cn.tedu.boke.portal.model.User;
import cn.tedu.boke.portal.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author tedu.cn
 * @since 2021-11-01
 */
public interface IUserService extends IService<User>
{
    void register(RegisterVo registerVo);

    User findUserByUsername(String userName);

    int cleanUserById(Integer userId);

    int lockUserById(Integer userId);

    int unLockUserById(Integer userId);

}
